﻿using AutoMapper;
using Medical.Api.Read.Dto.RBAC;
using Medical.Domain.RBAC;

namespace Medical.Api.Read.AutoMapper
{
    public class RBACMapper:Profile
    {
        public RBACMapper()
        {
            CreateMap<PermissionModel, PermissionTreeDto>();
            CreateMap<PermissionModel, PermissionDtos>();
        }
    }
}
